<?php 
	/**
	 * 其他会员个人简历
	 */
	 $sexarr=array(
	 	'0'=>'保密',
		'1'=>'男',
		'2'=>'女',
	 );
//print_r($master);
if(isset($master)):?>
	<div class="membersideinfo" id="mb1">
    	<div class="eidt" id="sedit"></div>
    	<div class="detail">所在城市：<span id="city"><?php echo $master['city']?></span>年龄：<span id="age"><?php echo $master['age']?></span>性别：<span id="sex"><?php echo $sexarr[$master['sex']]?></span></div>
        <div class="detail">职业或者行业：<span id="profession" ><?php echo $master['profession']?></span></div>
        <div class="detail">联系方式：<span id="email"><?=$master['email']?></span></div>
        <div class="detail"><span >社会荣誉：</span></div>
       <div class="detail">
       		<ul id="honor">
            <?php  $honorarr=explode('，',$master['honor']);
					foreach($honorarr as $val){
			?>
            	<li><?php echo $val?></li>
             <?php  }?>
            </ul>
       </div>
	</div>
    <div class="membersideinfo" style="border-bottom:0">
    	<div class="detail " ><span ><b>个人故事</b></span></div>
       <div class="detail editable2" data-id="<?=$master['mid']?>" data-mode="more" data-field="story">
       		<p  class="editcont">
            <?php echo $master['story']?>
            </p>
       </div>
	</div>
<?php else:?>
	<?php 
	/**
	 * 其它会员查看时展示的资料
	 */
	?>
	<div class="membersideinfo">

	</div>
<?php endif;?>